package day124;

public class RegDemo08 {
    public static void main(String[] args) {
        String reg="\\w{8,}";
        String s1="adsadasddda";
        String s2="sdsd";
        System.out.println(s1.matches(reg));
        System.out.println(s2.matches(reg));
    }
}
